package cn.tedu.rms.reservation.mapper;

import cn.tedu.rms.reservation.pojo.dto.ReservationQuery;
import cn.tedu.rms.reservation.pojo.entity.Reservation;
import cn.tedu.rms.reservation.pojo.vo.ReservationVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ReservationMapper {

    List<ReservationVO> selectReservation(ReservationQuery reservationQuery);

    void insert(Reservation reservation);

    void update(Reservation reservation);

    void deleteReservationById(Long id);
}
